Clean up path list length to allow for more than 256 duplicates in a set.