Copyright.
Fix handling of token paths with last optional element.