Avoid multiple selects by filtering out priority ones