possibly fixed issue 1570:Recent web2py does no longer support table-aliasing, thanks Dominic