Adding checks for amending IOP records