added removeduplicate arg to AddManipulator, fixed planning bug with check constraints field