Fix segfault on reading empty multilinestrings. Includes regression tests