Add filter for whitelisting certain queries