Fix tag auto-creation.