Made the token replacement on the recorder sql case insensitive.