I did same thing on my 2015 return (out of IRA in Dec.,rolled back part of it in Jan. 2016 and IRS did not allow it.
So, how do I file it 'right' this year?
I always used TT Premier.
This is a common situation. The rollover contribution made in 2017 is properly reported on your 2017 Form 5498. The IRS has become more aggressive in attempting to find those who report a rollover that never actually occurred, so in this situation the IRS has begun questioning rollovers before the deadline for the financial institution to report the rollover.
Your only recourse in the situation where the IRS questions your reporting of the rollover is to substantiate that you met the 60-day requirement by providing to the IRS account statements showing the date of distribution from the old account and the date of the rollover contribution to the new account. (Hopefully you already did this with regard to your 2015 tax return.)
To avoid this situation in the future, try to complete the rollover in the same calendar year as one in which the distribution occurs.
Describe what you did. Include dates and amounts. This is usually sufficient.
Save the 5498 or other documents in case IRS sends you a letter.
Never send off an original document, only a photocopy.
You should contact your financial institution to have them provide you with a corrected Form 5498.
The IRS will assume that information provided by the financial institution is correct. Therefore, they have an obligation to provide accurate information to the IRS in a timely manner.