s4-ldb: fixed an issue in rename/modify indexing