Time simple moving average filter and mqtt

Hi! I’m tring to use the time_simple_moving_average filter on an mqtt sensor, but seem that once the mqtt values aren’t updated, the filter stops working. If the last mqtt value is 0, the output of the filter never goes to 0, it evaluate only the first 0, and as there aren’t any other update of the value, the output remains here.
There’s a way to fix this without using the “force_update” on the mqtt sensor?