fix handling of boolean in multipart form