It says I must pay back the entire tax credit I received for health insurance because of my husband's income, but we were only married for the last 4 months of the year

I had a low income, and therefore qualified for a good tax credit on health insurance.  I got married in September of last year, and now they're saying I need to pay back the entirety of the tax credit because of my new husband's income.  This doesn't seem right.