Correctly check metadata against data.