Get your taxes done using TurboTax

I wonder if you can help me with this question: 

 

My son went to a college where he was given a grant. This did not cover the cost of tuition. On the 1098-T, it says in box 2: $26,990 and in box 5 $30,473. But in the explanation below the form, it shows of the amount in Box 5, $14,016 was for January 2017 (the prior school year) and $16,456 was for August 2017, the current school year. 

Turbo tax says we don't qualify for the AOTC because of the grants, but they were for 2 different school years. 

How can I fix this?