validation with "not" in schema fails with TypeError (bug #72)