PRD-3979: Fix issue with entering parameters in SUM and COUNT formulas