convert filter ids to integers