Update query for issues to respect XACML.