We do not want to read a ghost entry
updated to reflect comments

avoid infinite loop and duplicate code
Merge pull request #6 from Lectem/patch-1

We do not want to read a ghost entry