Fixed reference to incorrect SQL string.