Fix hang in case of calculating aggregates for unbounded sequence