That was an old BOCA limitation. From the 1999 edition:
1021.3 Opening limitations: In occupancies in Use Groups A, B, E, H-4, I-1, I-2, M and R, and in public garages and open parking structures, open guards shall have balusters or be of solid material such that a sphere with a diameter of 4...