Uses DISTINCT in all search queries to enforce records being only returned once
Merge pull request #629 from nsendetzky/master

Uses DISTINCT in all search queries to enforce records being only returned once