I'm deinterlacing a video using Avisynth and Virtualdub2 and I would like to know if it is possible to make a script to advance the luma by 1 frame because it is leaving a trail in some specific frames. I have a script which fixes the chroma ghosting in this same video, but sometimes the luma does not sync correctly. Here it is:

LWLibavVideoSource("test.mp4", cache=false)
AssumeTFF()
SelectEven()
QTGMC()

even = SelectEven()
odd = SelectOdd()
interp = even.FrameRateConverter().SelectOdd()
odd = MergeChroma(odd, interp)
fixed = Interleave(even, odd)

return(fixed)