Sorry, I was making the point that it is known that wipe and Format are different (in that case).I thought e-recovery only did Format as this is the safe option. But you actually describe Lineage recovery. I feel that there is something wrong in the “clean up” process.
Are you aware of Rescue and Smart Assistant Tool, https://en-us.support.motorola.com/app/rsa this would be a way of getting a clean start, and ensuring you are on latest firmware.