Fix problem with deleting draglines