Mods to use proper case querying tables