Added type comparison to match_collection validation rule

Added type comparison to match_collection validation rule