Prevent notices from displaying twice when they are set the first time.