Fixed getChoiceFromStack() crash when invalid entry