|#1318| Preventing skipped lineitems in get line items API and renaming it accordingly.