fix orcl_gterm add list job queries and rman history