Move filtering of duplicates out of display code
Move filtering of duplicates out of display code

Filter duplicates with other filters. This also means that duplicates won't be
counted when applying a limit, which is probably what the user expects.

harlowja/gerrit_view