Fixed row selection bug.

fixes #102