Current fix by @STWMichael is to add quotes around column names but should check if there is a deeper issue here.