FAIMS-413: fixing bug with breaking and joining polys and lines