fixes #2686
Merge pull request #2694 from gurbuzali/xa-recovery-fix/3.2.3

Xa recovery fix/3.2.3