In some scenarios we would select the wrong appointment to link when resuming a session. This issue is fixed now.