SOS-2310 Clicking on Notifications Mark All as Read causes ResourcePermission ConstraintViolation exceptions on the first time click