Don't worry about it now. You've applied very broadly and all you can do is wait and see. Obviously it was a mistake to retake without knowing that you will at very least stay the same if not improve, but there's nothing you can do now. The other issue is that it points out a weakness that was unknown before: psych/sociology.
Some schools will look at the highest one, some will look at the most recent, some even break down the subsections. That said it's unfortunate, but I think you'll still get in somewhere, you just would have been better off without the retake.
500 to 501 is almost negligible. The only downside it really shows is that that is roughly where your true score is. You hit it. There's no room to say, oh well I could have done better, that's where you sit. You should be fine, and I doubt it will affect your app much.
For others, please try to be careful with this test. Take it only if you are very confident you will reach close to your goal or your score will improve.
OP said they took the 27 2 years ago (meaning 2014). I'm not sure, but I think all DO schools accept scores up to 3 years, so I think they would have been fine applying with the 27 this cycle.