Measure the bay empty
Check the front and rear openings at the shelf height, then repeat above and below. If the front gap is correct but the rear narrows, check the face line and rear upright positions. A shelf that stops short can be reporting a twisted opening.
Swap the diagnostic piece
Test a verified square blank in the same bay. Check the removed shelf diagonals and measure any edge tape buildup. If a correctly sized blank also rocks, inspect pin seating and row alignment with a straightedge before altering either shelf.
Change one condition at a time
Correct unsupported bearings and alignment first, then retest the parts. If the bay is true and a single shelf is still tight, revise that shelf's finished dimensions and update its record. Keep paired or handed parts labeled during the corrections.