Added a check to make sure we don't trigger  events from an unnamed route