Make sure that randomFact finds the correct index for the end of the fact.