Fix channelIDs recovery handling

Check if channelIDs are really an array before start handling it