hmmm… my version of TWRP v3.5 actually offers Format Data (rather than Factory reset, sorry) as the default from Wipe, then Swipe, yes. I think you are considering Advanded Wipe. I expect it will do about the same, but as you are trying to solve a problem I think you should do actual Format data.
This is a Document Suggestions – About the Documentation Suggestions category – page, please feel free to start a new thread if you need to know more.
... but, click arrow to un-hide, if it did not work,
I would first ask if you had already done a full and correct install of the latest stock ROM with Format data before you started. Now missing or taken out of our install pages!
If yes you would be in a position to do a total /e/ re-install with SIM card installed. I tend to do an install with SIM card present.