DF-1143 DF-1974 fixed indices reallocation causing crash