Fixed an issue where two forms on one page would wipe all user.permitted_groups on save.