dml-sqlserver MDL-25321 Fixed limit_to_top_n function that was breaking badly.