Retirement tax questions

This is simple enough to reproduce. 

1.  Take 2 separate IRAs, "a" with an RMD of $25,000, and "b" with an RMD of $20,000.

2.  Actual withdrawn from a was $15,000

3.  Actual withdrawn from b was $30,000

This is acceptable to the IRS since the total withdrawals >= the total calculated amount that needed to be taken.

When entering the 1099-R info for IRA "a", TT asks for the RMD amount.  Upon entering the actual calculated RMD for "a", TT immediately generates the penalty.  It doesn't seem to matter if I enter the 1099-R data for IRA "b" first which would indicate $10,000 more withdrawn than required, as soon as it sees the shortage for IRA "a", it slams the penalty on.

I got around this issue by entering the RMD amount to be the exact amount that was withdrawn instead of the calculated amount.