Fix iterating over library URLs in the view