TEZ-1040. Fix a bug which could cause the Merger to hang. (sseth)