Fix usage of legacy get_duration when pushing entries