[MONDRIAN-1572] fixed null pointer when virtual cube dim is both a many to
many and reg dimension.