Edit to avoid race condition when adding indexes to Shock node mongo documents.
Merge pull request #234 from jaredbischof/master

Edit to avoid race condition when adding indexes to Shock node mongo doc...