Prevented same graph from adding twice.