Fixing callbacks in isMemberOf