fix date comparison issues when updating subscriptions