Fixed bug with Repair not decreasing enchanting levels properly.

Fixes #817