When renaming namespaces using `RenameReservedPathsMigration` incorrect routes get renamed
When renaming a namespace with the name api, we rename routes matching api% to rename all child routes as well.
But this would also incorrectly rename api-ary (as an example).