Fixing nonzero nil error when an apns status has not been set