get_matching_groups and form() updates