Fix favorites array on profile page.