Trade Openness and Investment Instability