Fix passing of GID
Merge pull request #6201 from openscholar/6073-gid

Fix passing of GID for searching of private features