If you did anything Nintendo doesn't want you to do, no matter how insignificant, you've been flagged already and you will eventually be banned. Don't listen to people tell you to restore a nand backup, this also won't save you. They obviously can know if you restored a nand backup. Hell, doing that alone will flag you.
The only way to be safe and not be banned is not mod your switch in any way and just go 100% legit.
BTW, I've been using SX OS ever since it came out and updating my xci and nsp reguarly and I haven't been banned yet.