Support null values in conversion