Added some extra PG exceptions to safe rescue.