InfoPath error with multiple lookup field

Last I had an issue with InfoPath and a multiple value lookup field. I created an InfoPath form to edit the listitems. One of the fields was a multiple lookup field and the raised an error when I wanted to submit the form. The error I’ve got was:

Only positive integers allowed

I found this article that solved the problem by unchecking the default value in the advanced InfoPath form options.