Restore `double.as_null_object` behavior from 2.13.