Fix for minor messages badge number issue