Rank filters sometimes show wrong results

@tonyrebelo recently reported this bug as well. https://forum.inaturalist.org/t/cannot-filter-hybrids/19828/