Fixed the second half of bug #53.

Since main.py was sending the index number of the congregation selected
instead of the actual row id number, the code had to compensate. That
has been fixed. The actual row id is passed now.