improve query for list of items in a collection
fix spec with bad url