Hack to allow role deleting to work