Fixed bug when calling Entries()