Fixed minor bug relating to getting the last doc (would attempt to tail an empty cursor)