Checksum stored on [0] and datafile deletion works

Data file deletion wasn't causing it any updates because the global
old_checksum was the same. Now, the checksum is also stored on the first
entry so it doesn't make an extra row in the table anymore.