Upgraded how newly registered events are detected