Fix error in findDatapoint if needle empty
Merge pull request #111 from GermanBluefox/patch-4

Fix error in findDatapoint if needle empty