Fixed query for project