only include active users in ES query
Exclude deleted users from es query
Merge pull request #3482 from dimagi/activeusers

only include active users in ES query