Removing trailing slashes from customURL ids.