Small fix for PG patches.
Merge pull request #111 from ivanyv/patch-1

Small fix for PG patches.