Bad bug in GetGR, also add "keep_all_objects" flag (update to #39).