Fixing infinite loop issue in replace_state(), again. https://www.linux.org.ru/forum/lor-source/14868980
Fixing infinite loop issue in replace_state(), again. https://www.linux.org.ru/forum/lor-source/14868980

fat0troll/lorsource,maxcom/lorsource,maxcom/lorsource,fat0troll/lorsource,maxcom/lorsource,maxcom/lorsource,fat0troll/lorsource,fat0troll/lorsource