Found a bug that allowed more than one root feature to be added to the kml element.