fixes layer constraint for i/o nodes: https://github.com/the-grid/the-graph/pull/118#issuecomment-36883282