Prevent non-SELECT queries