Corrected bug with the entries count.