Fixed a bug where long mass sequences would not work for window metrics.