Fix display of inverted check fields in HTML forms -- fixes bug 18581.