Add an additional check to the rank command to ensure the command sender has permission to rank to the provided group.