Possible fix to duplicate notification problem.