Another bug fix for get_accessors

(Still not the parent scope isse)