Fixed patchLine to better handle Lands

Fixes #1