Avoid SIP bug by keeping references to result model items on python side