Fix push notification crash.