[MONDRIAN-1837] fixed issue with ignore unrelated dimensions when
unrelated dimension appears in slicer.  cherry-picked from d2f9690
Merge pull request #318 from kurtwalker/MONDRIAN-1837

[MONDRIAN-1837]