partial fix for edge creation issue

checks for edges in both directions within filterObject method.