Added optional array fields validation