fixes bug in display of last tooltip in statistics page