fix copypasta in validation (bug 1048617)