Fixes ID filtering