Hi P22,
Welcome to the Community Forum ! And sorry to see that no one has replied to you yet, if you're still having issues with this I've linked below some information on how Leave works in your file and how it is calculated:
Do let me know if you need further help.