fixed if statement for seen marking in notifications