sub-types of maps/sequences were ignored, thus added matching against head of collection