Fix HTML unread detection