Some fixes for binned analysis.