Fixed small issue with the pending queue in adc

On removal an element of the pending queue was not having its chain
broken, which is not checked in later parts of the program.