Fixed SQL typo in previous commit 25594b1.