fixed a bug where previously deleted rows were not correctly detected during commits