Respect limit for PG bit strings
Merge pull request #15487 from sgrif/sg-bit-limit

Respect limit for PG bit strings