Given the following menu entries
Route::_('index.php?option=com_mycomponent&view=categories&extension=com_mycomponent.countries')
should return '/countries' but in fact it returns '/diseases'.
This is happening because Route settles for the first menu item with matching component_id and query parameter view.
I've solved the issue by overriding the MenuRules class with my own, but it seems a bit of an overkill.
Is there a proper way to have Route consider my custom parameters?