I had an issue in my "Code Review" state, then my Pull Request in Bitbucket was merged which would cause the issue to go into the "In Testing" state.
When the issue's status got changed to "In Testing", the issue was no longer in my sprint (moved into the backlog), however that issue's sprint was set to my current sprint.