Ensure indexes get created.
Merge pull request #6 from aleph2012/ensure-index

Ensure indexes get created.