Fix #406 locked worktable recipes sometimes become unlocked