Some bugfixes in the coord2tz function