Fix get entity usage index store function

Change-Id: If434a48a4e73745a23dde868988a604e5391c35f