fixing old issue with closed_on not being resolved

was showing null despite it being clearly in the ES results
Merge pull request #1245 from dimagi/closed_on_fix

fixing old issue with closed_on not being resolved