Python filter ordereddict fix

@basepi This is a bug fix. Please cherry-pick into the RC.