The danger of ricochets is WAY over stated. Five things occur to a bullet when it strikes anything and continues to move thru the air. Each of these very in degree but it always happens, which will cause them to be very ineffective at traveling through the air.
1. Lose energy/velocity.
2. Lose mass/weight.
3. Change direction.
4. Destabilize (tumble)
When a bullet is doing everything right it will not travel 5 miles, and if it did the velocity would less than you throwing a rock. When it 'ricochets' it becomes very 'ineffective' ballisticly and will not travel very far and have little ability to cause significant damage or injury. Just some facts, if you understand the physics side of ballistics.