Fix Data Label placement of last point

.. the if/else block was never called for the last point on a
   curve due to a logic error.