Fix insert row fields validation.

About #321