[TASK] Improve code quality in SoftRefIndex

Change-Id: I30f48b8aef97a4a26efe91441b14d4c6a4578a7b