fix anon user extended history (plus agents)