Fix bug where graph points with zero y-positions do not return line diffs

Testing for truthiness instead of numberiness causes the diffs to not be calculated when the y-position for the closest point is zero