Fixes case sensitivity of table names