Fixed /ml not changing material when it is allowed.