Authorsort may be missing; we need to cope with this rather than trying to trim undefined