Fix log message creation when changing confidence