Fix bug with issue duplication.