Don't crash if Query::get returns an invalid query