Bug fix: now client-side and server-side validation works the same thing.