LineCollection: Fix loop syntax.

I am dumb.