Changed SQL queries in getGroupMembers() in WorkspaceInstance and getUsers() in ProjectGroup.