Check for valid secondary mode on S(a,b) tables.