Add empty check for haystack range r in skipOver()

Remove space