fixed suggested query for determining if user has permission to search for contacts or not