critical bug fix to prevent crash when working with groups and links are not satisfied
workaround to deal with crash while updating loop groups