fixed a PHP notice when using restricted list of values to use in synchying Mahara groups with some LDAP attribute