Fix issue with custom fields on ticket listing.
Only filter custom fields if there are values to filter.
Fixed issue with ticket filter `JOIN` query.
Update framework.
Only select ticket columns.