The badge number doesn't match with the number of unresolved errors. It should display (3) instead of (1) in the following scenario: