composer: Fix corruption issue due to wrong index

Fix vector corruption issue due to wrong index

Change-Id: Ia9a4d2b5227e1732421e5adf33a9d32b345c8c67
1 file changed