Solved problem with limits at sliding_window sanity check