Hi Sai,
One important thing to remember is that carry forward of leave happens in a new quota. Please refer the below document and refer to annual leave scenario.
Balance Absence Quota Carry Forward – Method 1
I hope this resolves your issue.
Thanks and regards,
Vivek Barnwal