Fixed crash in view all alerts/caretasks