Database needs upgrade for statistics to be correct