Only compare visible fields, and assume 0 if not visible.