Fix for problem with SeachMixin in base class at multi-table inheritance.