MODE-2391 Fixed the configuration of the document optimization feature.