Fixed bug where user could select more than 3 indices in the JList