POC filtering of segments based on their IDs