Correct time overlap check + onload disable