the previous function was removing some 0 (zero) values, this fix that