Minor logic fix for when changing project paths