Avoid painting -1 values in statistics