Fix normalization of queries contained in COPY statement.