IRA Deduction

TT won't let me take an IRA deduction for being over AGI and having a retirement plan at work. However I lost that job in June, and none of my jobs since have had a retirement plan. Also I withdrew money from from IRA to help on a home mortgage deposit, and I would like to replace some of it, but again TT won't recognize it due to the above. Any way for me to make this happen in the software?