Fixed issue with stacks and series.index option. Closes #1722. Closes #1689.