Fixed a bug in AggBestLabel