Its wrse tan you think. Try leading and possibly trailing zero's added by the FMS, so it modifies whatever the pilot types - from the FPL! Then there are a number of a/c where the FMS inserts a blank after the three letter - yes a blank!
So BAW224 = BAW 224 try matching that!