Added further empty sql arg checks.