fixes #1022
Merge pull request #1023 from loomio/fix-unread-count-in-search-results

fixes #1022 unread count broken in search results