add test for filtering populate where with primary keys