This was only called from ScaldingLaws test where the collection is a List[Int]. I'll remove the casting and the type-specific filter to keep it general.