check if the subchan was really selected before resuming

Ticket #4498.