Makes sure the lmdb data is shuffled