improving the sponsoring LIR query according to Olegs suggestion. It still needs to get the resources and not work so much with the orgids as only about half of them have orgids.