What you see in your online account on the IRS web site is not the e-file database that the IRS uses to check e-filed tax returns. Apparently there is an error in the IRS e-file database. The IRS gets the information from the Social Security Administration.
Call Social Security (800-772-1213), or go to a local Social Security office, and see if they have your correct SSN and last name. If not, ask them how you can get it corrected. If they make the correction now, the correction should be in the IRS database in time for you to e-file next year.
If your SSN and last name are correct in the Social Security files, call the IRS (800-829-1040). Tell them what is happening and ask how to get it corrected.