When your core is about to expire after truce, if the expiration date is the end of the month(30th or 31st), all claims you have disappear when truce ends before you have a chance to declare war. In such cases claims should expire after another month so the claimer has a chance to declare a war.