Fixed incorrect entries in keylookup, better error handling in batchLogReader