Fix for logic error regarding flag duration in 90-day pulse