Fix off-by-one in com_rmatt().