Fix autoanvil duplicating items in repair mode