Fixed error when calling sm:get-account-metadata() for group ACE in
sharing.xql.

References #415.