fix a problem in detecting named routes that was causing route fall thru