fixes bug in copying issue relations