fix date comparison issues when updating subscriptions
Merge pull request #3957 from dimagi/fix-subs

fix date comparison issues when updating subscriptions