GRP-1059: If flattened privileges are disabled, don't perform flattened queries on privilege add/delete