Fixes for more bugs when marking notifications read