Fix a minor problem in the code for determining whether or not an SQL