Small bug fix in formula parser.