fix corner case in collapse_vars
#5926
Merged
This job succeeded
Loading
collapse_vars
#5926