Decreases chance of index corruption significantly.

Fixes #11