hopefuly last case of Groups.Domain case sensitive search
a case of missing Groups.Type -> Groups.Name change
handle case sensitivity in manually generated SQL