Replace an assert with MCAssert