Am I eligible for ACA tax credit since I received a 1095-A but was also eligible for Medicaid

I received a 1095-A and was paying for a marketplace plan from January - May of last year. I was also technically eligible for Medicaid throughout that time but did not apply for it until later in the year at which point I stopped paying for the ACA plan.

 

Do I still qualify for the Tax Credit for the first five months since I was not covered by Medicaid (even if perhaps it violates the spirit of the rules)?