Fix history for graph

Only return top level actions