Fixed crash concerning AI when no choices available