Fix support for MixedCase raster table names

Includes testcase