Fix bugs in commit for del and put operations