Support exponential notation in filter values

Closes #311
Includes testcase