Fixed a glitch with profile permissions