fix fatal error when marking all conversations as read