[MONDRIAN-1963] Fixed issue with Profiling and Calc Types