Updated search to include has_attributes, used by calendar widget for objects with date only