Fix binary_data calls with wrong max_length/min_length parameters order