BUG: Fix ARIMA bugs for small data and data with integer names. Closes #1038.