Issue IKTREDEL-61 by cableman: Fixed call to undefined function in get indexes