Added int and bool field validation