Fix duplicate tablename alias in mysql query.
Merge pull request #82 from cdlib/master

Fix duplicate tablename alias in mysql query.