Use filter instead of from_ids