Collections: fixed bug with URL matching