Preserve indexing mode in decode_cf_variable