Update ModeA/C to ModeS

Update the ModeA/C to Mode S comparison routine to use bFlags.