fix SubmitHistory bug about screwy user_ids in xforms

http://manage.dimagi.com/default.asp?67436#391793