Fixes for the behavior of the global object set when updating collections