Fixed max_input_vars detection