Fixed stupid bug in histogram plotting.