[MONDRIAN-1180] cast exception using existing with aggregate tables