Added saving last current index before model update and restoring it. Dirty hack.