SONAR-4412 Added checks to prevent last system admin permission removal