Fixed deleting rows