[DF-3032] Moved safedeletearray(indexes) to BuildLandscape()