Truncating unread message counter when > 999 #578