Fix Org delete notification recognition

Also fixes a permission test