Fix bug when auto uploading comasters
Merge pull request #701 from nla/nn-uploadauto-comaster

Fix bug when auto uploading comasters