Settings added to query