Earned Leave Not Working For Quarterly and Half-yearly Cases

Hello,
I have created 3 different leave types and set as Earned Leave as shown below:
Privillage Leave: 6 Leaves per year, 0.5 leaves per month
Sick Leave: 4 Leaves per year, 1 leave per Quarter
Casual Leave: 2 Leaves per year, 1 Leave per Half-year
Leave Period - 01-04-2024 to 31-03-2025



I created a leave policy for three types of leaves and assigned it to an employee based on the Leave Period. Upon reviewing the allocation, I found that Privilege Leave was correctly assigned as 3 leaves, but Sick Leave and Casual Leave were fully allocated as 4 and 2 leaves, respectively. These should have been allocated as 2 for Sick Leave and 1 for Casual Leave.

Can anyone suggest the solution?

Thanks!