fix reassign cases 500 by checking if owner_id exists

fixes http://manage.dimagi.com/default.asp?67266