Added the list-distinct-values procedure