** Added support for filtering query results by user groups