Issue #11737 done. Fixed group rules deletion on same department