Make reverse routes always use the first matching route