Error with Set "Incident Date to Date of Birth" in Patient Program is Pointing to Enrolment Date Instead

Hi developers,

I am using the new Set Incident Date to Date of Birth functionality but find that instead of setting the incident date to birth date, it is setting it to enrolment date. I have reproduced this on the dev site using the TB program. Please find screenshots attached.

Many thanks.