Fixed number parsing in WHERE strings (backport).