Fix corruption of channels.dat pidlists