Fix delete_index so it only deletes correct docs when MARKER_SYMBOL set.