fixed off-by-one index error in dom2kml.py