wutval: Fix validation logic