Solves bug with activities on a profile