Fix crafting detection.