fix search for groups
fix search for groups

A simple search for all groups (without the all_data flag) doesn't
return any result.

scitran/core,scitran/api,scitran/core,scitran/core,scitran/api,scitran/core