Fixed bug resolving resources with get_via_uri()