Make the d3 backend cycle data the way the other backends do.
Fix bug introduced last commit.