Medical Reciepts (and optimizer) is not working correctly - I am stuck

I inputted 47 medical receipts covering eleven months (June 2020 to April 2021). 

When I used the optimizer to see how I was doing, it only added up to the first 43 entries (to $38,781).

I then consolidated some of the receipts, reducing the stack to less than 43.  Same result limiting at $38,781.

 

While the optimizer is open, I can move the red line to 30th April 2021, and the worksheet responds correctly, displaying the correct total, but the optimizer flatlines at $38,781.

 

When I close the optimizer, the worksheet reverts to reporting from 20 March 2020 to 19th Mar 2021 (when it hits the $38,781 limit).

 

Background info; Tax return for a married couple with more than sufficient tax owed to not limit the above claim.