Introduce filtering for edge_predictions.