cleanup scoped_by_search method for event and activities