fixed handling of arrays for PG complex data types :sunglasses: