Fixed handling of destinations with trailing / characters