fixed method aliases for inheritance
resolved table alias and union query set for Django