Changed the way we include edges in the filter