Fix token awareness for case-sensitive tables (JAVA-526).