Respect array bounds when randomly selecting an index