Fixed deleteTo in memory repository