Extend Base::Attribute's search_attributes method to pass resultset conditions and attributes to the search.