Fixed #10

Detecting overtime