bugfix: startcondition overflow

reset search indices when start condition was found