Fix invalid index in sanity check

Signed-off-by: Fred Bricon <fbricon@gmail.com>
441112 : fix active profiles from parent pom being shown as inactive in UI

Signed-off-by: Fred Bricon <fbricon@gmail.com>