Asrestore (3.9.1) sometimes doesn't restore indexes

We wanted to upgrade our Aerospike from 3.8.3 to 3.9.1.

I did some testing and discovered that asrestore from 3.9.1 sometimes doesn’t restore indexes.

I made detailed bug report in GitHub:

If you follow steps I described in the issue, you can reproduce the problem.

I think it’s a bug in asrestore (3.9.1). I didn’t noticed such behavior in 3.8.3.