add union back
Console.logs for diagnostics
More
Update BFS for nested collections
Update filters