[BUG?] Custom scheduling not always applying to the card?

Thank you but the scheduler is working fine, the issue is with the way anki display the card, not accordingly to the (new?)value of intervalTest, or it just displays the card before running the custom scheduling

template has 2 blocks, word + hidden sentence(hover to display), and sentence alone
any card with an interval < 15 days hides the first block
else it hides the second block, as you can see in the video, the card displays correctly after I (don’t)edit the template.