Filter out negative ids.