Bug fix for joint_indexing=False and multiple lattices
Bug fix for joint_indexing=False and multiple lattices

The logic to update the experiment ids was broken if the number of lattices
in a given experiment was greater than the number of already indexed
experiments at that point.

dials/dials,dials/dials,dials/dials,dials/dials,dials/dials