Fixing issue with delete.