Fix for register_accounts_as_delegate_test