Fixed permissions bug for collections