filtered query by project ids