memory fixes for update_calculated_properties tasks
Merge pull request #2009 from dimagi/paginate

memory fixes for update_calculated_properties tasks