fix getChannelsWithUnreads

Instead of checking whether the `unread_count` property exists, check whether it is `> 0`.