Update tableDefToAggregate.py

Fixed it! When I ran in sublime it populated all tables to Aggregate.
Except the newtable thing is still a problem... I don't know how to get rid of it in my aggregate instance.