Fix boss timing check.

Was causing Idle mode to end early in some cases.