The original issue of this ticket - ordering needed for distinct(*fields) subqueries.