Added support for DISTINCT ON constraint