more fixes for generic relations. fixed tests
Merge pull request #6 from curlee/master

More fixes for generic relations in auctions.