Fix issue with delete.