searchGroup returns all groups if terms are empty