Fixes problems with stale projects hanging around after branch switch