Fixed issue where push notifications would not get sent to the server.