Fix crash if invalid row given. Fixes #113.
Merge pull request #116 from vranki/personByRowBug2

Fix crash if invalid row given. Fixes #113.