Switched to node restrictions rather than edge restrictions.
Switched to node restrictions rather than edge restrictions.