Added scoping method, modified Project model with correct associations.