Adding logic to prevent running queries that won't get used by customer users.