Bugfix concerning autoregressive models. Thanks EC.