fix include logic for collections