Fix for trade matrices