Fixes issue that allows blank name to be added as project name.