Trade: Fix possible exception in previous commit.