RUBY-525 only use query meta operators when necessary