Changed so that hide accepted only hides if accepted on both sides of the edge.