Well, after a long search, it turns out the only column that was malfunctioning was the SQL column for Contact/Name/Company.
The code was OK, it's just that in the "Filter Fields(s)" section, there was a comma after the last item. I
The values in the field were "ContactsName,Entity,EntityCompanyName,"
I removed the last comma and everything seems to work. Not really sure how it got in there but...all's well that ends well, I guess.