Fixed child permissions not being set to true when parent permission is set