Fixes a error notice
Fixes socd-io/Depolyment#237
Adds support for new activity data structure.