MDL-59774 analytics: Fix sql_compare_text usage