Added flag check to crafting table crafting handler.
Resolves #445