EDOC-1008: fix delete op