Updated process code to filter out nodes that clearly are not top.