Fix admin permissions/unserialize error (#1989)