Partial auto y range : adding support of null and undefined in addition to NaN