Fixed warning for multi-checkbox fields with null values by converting to an empty array