Fix bug detecting projects in solutions