Fix wrong results for open paths in Curve#getPrevious() / #getNext()