Issue ID: ANLY-2741 When the input table had more than 5000 rows, the LDist function produced no results.