make types friendlier for filtering

this should be handled more abstractly, but that's a NTH...