Fixed some benchmarking inconsistent behavior.