issue #930 oops - wrong shape for all_object_numbers + regression test