Using filter in getProjects