Part number seen as an Invalid Date in Application studio

PartBin_PartNum = '??{KeyFields.PartNum}'

I’m trying to filter a baq with View Options, Baq Options, and the above Where statement. It works for most parts, but then I get Errors: invalid date in expression.
Is there a solution to this, or is it just best practice to make all new part numbers that are Kinetic friendly?