[Olena-patches] 1480: Change value index type is now 'unsigned'; several fixes.