Fixing errors in machine data