NULLs in DOUBLE type columns are incorrectly converted to zeros