This is only an issue recently, my completed/done issues and stories are carrying over into a new sprint - even when I move them to the last column of 'Done' - the applicable status are also mapped to resolved.
The only change introduced recently is the addition of xray plug and some of the xray tasks are linked to the story.