Commited fix to issue #1324 (http://ocportal.com/tracker/view.php?id=1324). [Secondary group memberships lost when editing account]