Fixes for project scoping in search