bug fix, and TableRowPair -> table_row_pair

Never try to dynamically change comparison method of STL associative
containers! Because the data in the container is sorted according to
some fixed ordering, switching comparision method will get WRONG
search results.

Alas, I'm so stupid! :-/