fixed issue with calc type for iif returning crossjoins
[MONDRIAN-1912] fixed issue with CrossJoin when evaluating members,
leading to array index out of bounds.