Fixed the deletion bug for row systems.