Maybe just change this to:
$perms[$permission] = og_user_access('node', $this->id, $permission);