What you're doing is great, although it was probably bad that you know who she's been with.
Bottom line: DO WHAT IS BEST FOR YOU.
Oh, and be careful around girls with bad pasts. If other people find out or know, it can ruin YOUR reputation at the same time.
If you can, try and forget...