Fix SEGV for s=sl for 3 terms and syntax error YAZ-857