fixed the reading of unions in osl_relation_poly_psread() function