Explorer and Priests included in all infantry hotkeys

I use default hotkeys and I use a lot hotkeys to find all units such as

Find all military, Find all infantry and the explorer/priests are also included on that.

This completely ruins my gameplay. For this reason I can’t play Aztecs because when I use the hotkey Find all military then the priests leaves the firepit to join the fight or the explorer stops building a tp or a tc.

Is there a way to customize this Hotkeys or a suggestion to add 2 hotkeys:

  1. Find all military excluding priests and explorer

  2. Find all infantry excluding priests and explorer

That would be awesome.

Many thanks