Membergroup fixes

Fixes assorted bugs related to member groups and/or assigning them to moderate boards.