Update ModuleSimpleEventRegistration.php

added a endtime check for unregister