Added feature to exclude matched values from validation