Ensure only nested objects are set to null if columns are null