I'd forgotten to make the graph directed. Fixed.