Fixed bug in storing destinations back to storage.