Fixed typo in HasRole.