Fixes project-scoped search
(http://yellowgrass.org/issue/YellowGrass/371)