Move a check to the validateInstruction() function where it more properly belongs.