When a person ignores the overall frequency of some behavior or characteristic when making a decision, it is called base rate neglect.
Base rate neglect is also known as base rate bias, where specific information, general or generic is being ignored from a situation.