minor bugfix in url -> internal link converter