Fixed an issue with the number of unread message threads not being correct.
Merge pull request #84 from icowley/fixUnreadMessaging

Fixed an issue with the number of unread message threads not being correct.