Fix infinite loop if there are no unread channels under the server.