Coerce null and undefined results to null.