MySQL: Fix editing rows by binary values (bug #371)