Fix being able to get to negative unread notifications count.  Fixes #1031