Glad it helped.
My advice is: don't use ISRs if you want accurate timer output. Use the timer hardware.