Fix bug when lane trimming is skipped.

This caused the next stage in the pipeline to error out.