Rebar shape code - wrong detection

U can see the problem in the picture below.
The real problem is that in witch the code"31" appears in the bending schedule, and is shape is different from the one on the drawing witch is “51”

Any solution ?
Thank you.