TROIA-427 fix - case-insensitive tables existence checking