Add if condition to generate correct paths when a dimension has multiple...

Add if condition to generate correct paths when a dimension has multiple depending dimensions and the 'all' selector is used
in 47 minutes and 44 seconds, using 0 compute credits, and was queued for 3 seconds