Use timestamp for finding the active.
The check can be scheduled at the same time as the plant.
Therefor, wait a little before actually checking, giving plant a head start.
Merge branch 'master' of https://github.com/RobertLarsen/CTFd