MT#9607 - Fix delete allowed_ip_groups

(cherry picked from commit 01fe7f5245a3642f46b5afea24d74bcdd6006bc1)