SwitchQuery should ignore ID-based queries.