fix null handling in validator findResult