Fix tracked profiles returned by api/profiles/all