Fix missing lookup in MySQL.