Fix finder_needs_type check in sti mixin

Many thanks to @witlessb for tracking down the fact that `:finder_needs_type_condition` was somehow becoming false permanently - this fixes the Discovery index for me - @ohadlevy can you try to test the /hosts index too?