AttributeError: aq_parent in find_assignment_context fixed