Fix odd bug with double r's in front of permissions