Fix list resource URI nil handling