Adds support for more than 20 nested entity aliases

Not quite as impressive of a commit as the title might imply :)

(also removes relationships from ODBC as that never actually worked)