Fixed bug handling empty events in channel