Fixed issue with permissions being assigned incorrectly.