Fixed problem with restore entries not being attached to new retrievals during Glacier retrieval optimization