Fixed PHP notices in user groups save.