don't query for null group