Ensure that we don't search twice if a project is a dep and rel.