Perform selection of nodes during the last run instead of performing an extra traversal.