statistic: fix exception when there are too much frequencies

According to some bug-reports this could happen on devices like
Nexus 5.

Signed-off-by: Blechd0se <alex.christ@hotmail.de>
Merge branch 'master' of github.com:Blechd0se/android_packages_apps_AeroControl