Fix incorrect index
Merge pull request #157 from cs2103aug2014-w13-1c/jin/gui

Fix incorrect index