Fix illegal connections in stacks after a healing delete (issue 15).