Maybe fixed?

This apparently lets anvil repairs work. I'll have to test it later.