Added duplicate notification detection, hoping it helps resolve #172