fixed DDB scan with primary key IN condition