Fixed error where a property was being called
Merge pull request #4125 from dimagi/ESQuery-fix

Fixed error where a property was being called