Fix double-delete