Fix reindex waiting for nodes

The calculations were off by one

Change-Id: I212e0cae861531abf48ae38c98f5f19900cf1c9c
Merge "Fix reindex waiting for nodes"