fix issue when attempting to remove all notifications