Fix links with nested resources