added cleaning of mandates in order not to break csv generation.