Deductions & credits

You are correct. You should answer NO.
Only answer YES if inherited from someone other than your spouse.