Fixing references in the exhange table for MySQL.