Fixes issue with project scoping query

Fixes #214 and a merge issue that affected the search query for project scoping/sequence data stripping.