Fixing bug in trapping set_multi exceptions.