Fixed mising call to erbi_type_to_epgsql/2