next_object() now handles the case where first_object is destructed. Rev: src/builtin_functions.c:1.313