Fix buggy knife auto configuration