More removing of doubling up of notifications for apn
Correcting equality comparision
Merge pull request #12 from davy/master

More removing of doubling up of notifications for apn