Fix remove-serial-nodes; fix BFS