Fix form validationi, was broken since 71200e4e99c0a9faad10197906c391106ea2ed79