Fix address and address6 being empty in objects.cache

fixes #5352