Update to return activities as a clean list of integer.