Fix bug were not the entire userhistory was correctly parsed.