Fixed bug for collection that would include database search results