Switched to node restrictions rather than edge restrictions.