Fixes missing paranthesis in the global filtering in DaoUtils.java

There was a bug where if you filtered by both global filters, and individual filters, then the individual
filters would be ignored due to them only being checked with the last element, instead of the whole
global filter.
Merge pull request #4 from Blystad/feature/fix_dao_sample_repository_bug

Fixes Individual filtering not being applied if also filtered by global filters (search)