Fix issue with multiple destinations.