Forum:Hilarious Tali Glitch, with Depressing Interpretation

I have encountered a strange glitch that contradicts the plot of my Mass Effect three play through. To begin, I romanced Tali in Mass Effect 2, and soon after we reunited I received the Paramour achievement by rekindling our romance. Then the next mission I went on was the one where Shepard destroys a Reaper on Rannoch. When presented with the option of wiping out the geth or quarians I spent a minute thinking about the decision and ended up siding with the geth, to which Tali commits suicide in a very well done dramatic depressing scene. Later in the game I make my assault on the Cerberus Base, and to my suprise the romance cutscene between Tali and Shepard occurs, despite the fact that she committed suicide. So right now I'm laughing because this is either an enormous glitch or my Shepard is really freaking insane. Then as I see the scene with that one kid play I start to think of how depressing it would be if my Shepard really was going insane from Tali's death. Then they get to the part where they talk about survival through adaptation and Shepard begins to ask if what's left will be worth fighting for, and by the time where she talks about how she reaches for him to give her hope I'm feeling really depressed because I know she's dead because I ended up kind of betraying her entire race and how she definitely need more than my Shepard. So after that I start the mission and I check the squad selection thing and she still can't be added to my squad because she's dead. I'd put this in help, except I really prefer it this way and don't really need any. Just thought that this is a huge glitch that is so hilarious and very depressing.