LPS-33418 - Add entry.flag check when entryProcessed is set