It would be worth her getting a second opinion, as if a vet has left a bit of uterus behind, it has a very high risk of becoming cancerous later in life. Don't think it happens all that often, but can. All the females I know who spray do it due to being territorial, so it could be due to the baby, or it could be a UTI.