Fix incorrect validation errors on XPathFloatField