Marked #244 as no bug (and responded)
Fixed bug in getCurrentIndex()