When the economy's shaky, investors play it safe