I'm assuming these two lines here cover the scenario described in the documentation here https://github.com/elastic/elasticsearch/pull/37693/files#diff-fd0095853b8c10e4fd39bd7ae4958aabR80. Can you, please, add a small comment in code for this?