This might be more clear if you showed an example of what people.all() returns before filtering.