Fix bug in object_storage.hpp