Fixed reading entries with comments

Entries with comments after were not property handled.