Fix dependencies so StagingToPersistent runs correctly.