Fixed bug with non-matching access privelages.