fixed bug for queryset.distinct to work also on embedded documents, not just on lists of embedded documents