But I do suggest looking at this:
https://openacs.org/doc/acs-templating/tagref/group.html
It may solve your problem, and it doesn't require a rewrite of your <multiple> section, just adding in a section for the grouped areas.