If you have become indifferent to her then why should you bother to avoid her thoughts? I think in that case you are not completely out. When we had emotional relation in the past and have to work with the same person in present, it is natural that our thoughts will take us to our past. Consider this as natural and do not give undue importance to it. It will automatically die when you stop feeding them with your attention.