WL-2599 Also update MappedGroupsResource with exceptions.

Tidying up my mess from the first commit.
Merge pull request #3 from ox-it/WL-2599

WL-2599 Also update MappedGroupsResource with exceptions.