Fixed bug that crashed the app when marking all as read
