Fixing a reset on change bug
Merge pull request #36 from UFAL-DSG/fix_reset_on_change

Thanks! Fixing a reset on change bug