Fix for hiding graph when no data found