Yet another bug in Statement.compile.