Fix command passing in xpsql.