fix 500 from demo - don't query for active users if domains is greater than 1024
Merge pull request #1217 from dimagi/limit-domains

fix 500 from demo - don't query for active users if domains is greater t...