Update find_prefix_match() to accept matched nicklist node.