Fixed item enchanting.
Please note this is a first draft as it's requested a lot, there is more to do.