Don't use omero.group=-1 when not required (Fixes #11427)
Merge pull request #1441 from chris-allan/use-proper-ctx

Don't use omero.group=-1 when not required (Fixes #11427)