Updated IsDistinct for one column