Fixes https://github.com/pyugrid/pyugrid/issues/21