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>