Fix off-by-one error resulting in an out-of-bounds error.

As reported in: http://smf.cataclysmdda.com/index.php?topic=3885.0

Extremely rare but unfortunate chance of getting a segfault due to an off-by-one error while picking a hallucination. This PR fixes it.