bugfix ignoreInvisible to include form element itself