Don't merge tasks if they are from different nodes.
Address review comments.