[MONDRIAN-1837] fixed issue with ignore unrelated dimensions when
unrelated dimension appears in slicer.
Merge d2f96900f4916d74fc4877f0c4f58ecdaf7054ad into 25f923950261ac25fec1aafa009869b76ea3f387