Fixed an error when account is not a delegate