Fix search criteria serialization during group creation