Fix blatantly incorrect z:line cleanup