ENG-5718 make join order matching case insensitive.