Fixed an issue when converting Formula from code.xml