fix counting guesses when invalid guess submitted