Fixes #5945 updated InternalIndexShard callbacks