fixed bug with edgeCollectionRestrictions