Fixed a problem with double indexed elements in the GetValue method