Prevent exceptions on empty logarithmic graphs