Fix Trade tab. Fixes #271.