Fix a bug where when deactivating a profile, the fundings where not dele...

...ted