Add empty check for haystack range r in skipOver()

Remove space
Merge pull request #2481 from nordlow/empty-skipOver

Add empty check for haystack range r in skipOver()