Fix adjusting non valid line items
Use in-memory state to avoid lazy loads and DB round trip
Fix leak of unpersisted/invalid line items in order