Are you clicking on the actual notification, or going to your profile to view it there?
Sometimes you can view it without clicking through the notification (like if you go direct to the post like/thank notif, and then click through to your messages). This'll leave the notification still at 1.