Add the ability to query multiple group ids