Fix an issue where administrators are unable to use editgroup.php

The logic for checking if the user is an administrator OR a moderator was broken.