`lastgraphuri` is set to `uri` on line 858.  What we're checking here is whether or not it's changed since then.  So using `==` is fine here.