Don't fail on queries with nonexistent qualifiers (Rails 2)