The importance and the difficulty of a task matters: The more important and easier a task is, the less people are going to conform to normative social influence. Since there is more importance on being accurate, there is more justification to combat normative influence.
However, even when the group is wrong, the right answer is obvious, and there are strong incentives to be accurate, people may still find it difficult to risk social disapproval and would still conform