Fix logic operator optimization caused skipping of configuration calling.