Delete record fix