AttackProtector: Fix test broken by 981bbb9b74f9ebe9f8.