Bug fix in empirical tuner