Bug Fix: #4366 Creating Index doesn't update index-list.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
Merge pull request #1157 from ashutoshdhundhara/bugfix_4366

Bug Fix: #4366 Creating Index doesn't update index-list.