Small typo with checking for client SQL