Checked for unset indexes
Merge pull request #16 from craftsmancoding/master

Simple fixes for unset indexes when creating projects.