Update ModuleSimpleEventRegistration.php

added an endtime check for unregister