Fix a bug in the merge code.
Add a workunit around the missing dep computation.