Windows 10 "optimize drives" shows SSD as "hard disk drive"
Windows detects the type based on the benchmarks results. Run winsat formal
from a cmd.exe, started as admin to bench the drive again.
Now Windows should detect the drive again as SSD and should only TRIM it and don't do a fully defrag.