verify that POST equals PRE for invalid tx and do not overwrite the PRE code