fix: Improve caching logic in GetOrComputeAllDestinationsCommand
#1038
+26
−11
GetOrComputeAllDestinationsCommand
#1038