Some changes to the Route file cause custom filters to break

Thanks to @sjimi for the discovery of this breaking change.