Another fix for crafting amount calculation