Fix #759 - channels cannot be reattached

This was a regression caused by aed1d61 :(