Fix bug in 'stripFormula'