Fix 1684
Fix 1684: a task in life-science-SWE1.0 (Harbor dataset). When figuring out if a filter value is numeric by casting to double, Mac and Linux set the failbit if the cast cannot be done, so peek returns -1. This checks for said failbit.
The task
When figuring out if a filter value is numeric by casting to double, Mac and Linux set the failbit if the cast cannot be done, so peek returns -1. This checks for said failbit.
Part of scalingX/life-science-SWE1.0.