Fixed discardNullColumn bug