Bug fixing: if we check the schema after building the parameters, it doesn't make sense.