Fixed channels deletion during scans processing.

Signed-off-by: Dmitry Ishchenko <d_ishchenko@i.ua>