Removes redundant path addcourt