Added more reasonable logic for the stat comparison