improve getCollectionsByItem, still untested