Part of 80337ca43a94db91eaa1eadc5270c0a143370d9f broke matching damaged items as crafting materials, fix that.
Fixes #399