Fixed bug in random.choice behaving incorrectly if no choice is to be made