Only use the sanitysql if it's not zero-len