[1.6.x] Corrected a usage example of `related_query_name`.

Thanks to Petr Glotov for spotting this.

Backport of 05a8cef428 from master