Possibility to filter out invalid values of ids