Fix for sample failing for ActivityStreams