BHV-11798: allowing 0, checking for NaN, null and undefined