Fixed row deletion bug.