Fix double delete