Fixed bug in generate_tidy_data function, re:activities