BUG: Remove constraints before repeating
This change enables to view repeated trajectories with constraints by simply removing the constraints. I think it's ok to remove all constraints when repeating. The logic will get quite complicated otherwise.