Fix type on delete clause