Bug fixes
When REQUIRED_TYPE lists more than one class and a value passed in is already an instance of one of them, filterType() only recognized a match if the instance happened to be of the last-listed type, since the default case only handled converting raw arrays into instances. Instances of any other listed type were wrongly rejected.