Pavel Stehule writes:
> increase statistics on columns. The estimation is totally out.
Stats when I ran the above was at 250.Will try 500.