This is a vendor's database and we don't have control over it, nor do we have direct access to the Postgresql table layouts. We are given a spreadsheet to show us what the data types are.
As for the data, sometimes tbl.costcenter can be blank on some records. Surely that wouldn't interfere with the IN operator?