CRM-18977, modified code to set alias for civicrm_line_item table