I guess there is issue with update index statistics.
Create index on any table and check the optdiag output for the leading column and number the histograms. Now just update the statistics using
update index statistics tablename index name.
Check optdiag output and you will see much smaller number of histogram steps. This is causing issues as statistics are not as good as it were when you had more number of steps.
Thanks