Unread logic & search fixes