added code to clear SQLFormulaParser::PrivateContext::currElement on takeFormula().