Sure it's just a hologram but consider this--he was real enough to fall in love and have sex with , but yet at the same time, his marriage was unreal enough to delete??
No the marriage was real enough that not deleting the wife would make her feel like a mistress which is not what her fantasy was about. She wanted a romantic poetry reading courtship leading to (presumably) some ye olde consummation. She did not want it to be a fantasy about illicit sex.