Fix QuerySet code

Make cloning a QuerySet include ordering.
Remove duplicate operation.
Include "start" offset in search.