I fixed the problem using different amount of frames in two separate renderings. Worked like a charm!