allow fieldnames to be lowercase in query