Make PSConverter.ConvertToDouble return NaN for undefined