Fixed a problem with row deletion.