Modify prevnext to allow for empty urn.