Small Encoded Polyline bugfix

This should probably be considered for 2.13 too...