DDB GSI fix

DDB queries with GSI now work with a single filter. See https://forums.aws.amazon.com/thread.jspa?threadID=146212&tstart=0 for details.

Review please? @danielgtaylor