Corrected unshift(nulls) error