Removed extra instructionFlag clearing