Fix bulk indexing
Merge pull request #7 from cstar/master

Fix bulk indexing