Fix :only_ids option.