Add defensive checks in case we receive messages before ServerSync.