Fix query1 reference table headers to upper case