Fix validation schema for statistics