Fixed child permissions
Merge pull request #669 from Siguza/master

Fixed child permissions bug