Fix issue #157 - case parsing broken on e.g. 1e-7