Fixes test_indexing_twice_doesnt_change_the_db