Fixed operator error in checkTimeRemaining()