Fixes bug where invalid input incremets progress