Strips out optional parameters on a route now if not supplied