Remove null segments only removes a single segment rather than all, potentially null segments in a row