[MONDRIAN-1837]

[MONDRIAN-1837] fixed issue with ignore unrelated dimensions when unrelated dimension appears in slicer. cherry-picked from d2f9690