Fixed an update_index bug when using multiple connections
Merge pull request #847 from luisbarrueco/mgmtcmd-fix

Fixed an update_index bug when using multiple connections