DSC-859 Fix problem where already generated files don't appear in works, because...

... the previously generated amber session was lost.