fixed filtered lists giving wrong id