Fix finder_needs_type check in sti mixin