1471c1471
< 			$cqueries[trim( $matches[1], '`' )] = $qry;
---
> 			$cqueries[trim( strtolower($matches[1]), '`' )] = $qry;
1489c1489
< 		if ( in_array( strtolower($table), $global_tables ) && ( !is_main_site() || defined( 'DO_NOT_UPGRADE_GLOBAL_TABLES' ) ) )
---
> 		if ( in_array( $table, $global_tables ) && ( !is_main_site() || defined( 'DO_NOT_UPGRADE_GLOBAL_TABLES' ) ) )
