Fix that a comma remains at the end of permissions after removing last permissions. bugid:110680