Fix the IndexRecoveryIT test, by making sure that changes are flushed