Fixed bug involving user chosing partition index.