Fixed activity history, hopefully this does not break something else

Fixes #804