Ensure query.channelIDs are really arrays before handling it