Fix sequences being split into more parts than possible